<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <link rel="stylesheet" href="../../../component/layui/css/layui.css" media="all">
  <title>Title</title>
  <script src="../../../component/jquery3.6.0.js"></script>
</head>
<body>
<form class="layui-form" id="layui-form-id" action="" lay-filter="deliver_edit_form">
  <div class="layui-form-item">
    <label class="layui-form-label"><strong>计划编码</strong></label>
    <div class="layui-input-inline">
      <input id="saleplan_code" type="text" name="saleplan_code" lay-verify="title" autocomplete="off" placeholder="请输入计划编码" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label"><strong>计划人姓名</strong></label>
    <div class="layui-input-inline">
      <input id="planner_name" type="text" name="planner_name" placeholder="请输入姓名" autocomplete="off" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label"><strong>计划月份</strong></label>
    <div class="layui-input-inline">
      <input id="planner_month" type="text" name="planner_month" lay-verify="title" autocomplete="off" placeholder="请输入月份" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label"><strong>计划状态</strong></label>
    <div class="layui-input-inline">
      <input id="status_name" type="text" name="status_name" lay-verify="title" autocomplete="off" placeholder="已提交" class="layui-input" readonly>
    </div>
  </div>
  <div class="layui-form-item layui-form-text">
    <label class="layui-form-label"><strong>计划内容</strong></label>
    <div class="layui-input-inline">
      <textarea id="planner_text" name="planner_text" placeholder="请输入内容" class="layui-textarea"></textarea>
    </div>
  </div>
</form>

<script type="text/javascript" src="../../../component/layui/layui.js"></script>

<script>

  layui.use(['form'], function(){
    var form = layui.form;
    $('#saleplan_code').val(parent.zs_saleplan_code);
    $('#saleplan_code').attr('readOnly','true');
    $('#planner_name').val(parent.zs_planner_name);
    $('#planner_name').attr('readOnly','true');
    $('#planner_month').val(parent.zs_planner_month);
    $('#planner_month').attr('readOnly','true');
    $('#status_name').val(parent.zs_status_name);
    $('#status_name').attr('readOnly','true');
    $('#planner_text').val(parent.zs_planner_text);
    $('#planner_text').attr('readOnly','true');
  });


</script>
</body>
</html>